package com.hjqjl.whapplib.net;

import android.util.ArrayMap;

import com.hjqjl.whapplib.model.GetJoke;

import java.util.HashMap;

import io.reactivex.Flowable;
import io.reactivex.Observable;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.QueryMap;

public interface ApiService {
//    @GET("onebox/basketball/nba")
//    Flowable<NBAKTEntity> getNBAJFTInfo(@QueryMap ArrayMap<String, Object> map);

    @POST("getJoke")
    Observable<GetJoke> getJoke(@QueryMap ArrayMap<String, Object> hashMap);
}